Repository navigation
chore(starter): update @peektravel/app-utilities to 1.3.0 - #32
Merged
Merged
Conversation
v2 mode now requires `apiUrl` (constructor throws without it), so the
starter's service builders moved off the deprecated `baseUrl`/`gatewayKey`/
`appId` onto a single `apiUrl`. A new `appApiUrl(env)` helper rebuilds the
app-level endpoint (`${PEEK_API_URL}/${PEEK_APP_ID}`) — the same URL the old
`baseUrl`+`appId` config produced inside the library — as a stand-in until an
app persists each install's webhook `apiUrl`.
Resynced the platform/stack skills whose constructor examples and prose
mirrored the old config (the Peek v2 example would now throw), and bumped the
CLI to 1.2.2.
Verified: starter typecheck clean, 181 template tests pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Updates the starter kit's
@peektravel/app-utilitiesdependency from^0.9.0to^1.3.0and migrates the breaking change that comes with the 1.x major.Why it's not just a version bump
In 1.x,
mode: "v2"requiresapiUrl— the constructor now throws without it (verified: the starter's own test suite went red withmode "v2" requires an "apiUrl"). The old config passed the now-deprecatedbaseUrl/gatewayKey/appIdinstead.Changes
templates/nextjs-starter-kit/^0.9.0→^1.3.0(+ lockfile pinned to 1.3.0).appApiUrl(env)helper rebuilds${PEEK_API_URL}/${PEEK_APP_ID}— the exact URL the oldbaseUrl+appIdconfig produced inside the library, and the shape the install webhook'sapi.urlalso takes. It's a stand-in until an app persists each install's ownapiUrl; same behavior as before.peek/acme/cngservice builders moved offbaseUrl/gatewayKey/appIdonto a singleapiUrl.embed-and-auth+backoffice-apiskills, peekmanifest-and-deploy, and theapp-utilitiesstack skill.v2now requiresapiUrl(not "soon");modeis required (not deprecated).1.2.1→1.2.2(patch — starter dep bump + skill rewording).Verification
.tstouched, so the CLI build is unaffected.🤖 Generated with Claude Code